<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let arr = new Array();
        let arr1 = new Array(2);
        let arr2 = new Array(3);
        let arr3 = new Array('数学', '语文', '英语');
        console.log(arr);
        console.log(arr3);
        console.log(arr1);
        console.log(arr2);
    </script>
</body>

</html>